package com.jx.driving.transmission;

import com.jx.driving.message.TimeTerminalTransmissionMessage;
import com.jx.driving.protocol.terminal.annotation.ByteAnnotation;
import com.jx.driving.protocol.terminal.annotation.TerminalAnnotation;

/**
 * 照片上传初始化应答
 * 
 * @author shenliuyang
 *
 *         2016年8月15日下午2:49:50
 */
@TerminalAnnotation
public class Terminal0x8305Transmission extends TimeTerminalTransmissionMessage {
    /**
     * 0：接受上传 255：拒绝上传，终端收到“拒绝上传”应答后则 停止此照片的上传。
     */
    @ByteAnnotation(order = 1)
    private short result;

    public short getResult() {
	return result;
    }

    public void setResult(short result) {
	this.result = result;
    }

    @Override
    public String toString() {
	StringBuilder builder = new StringBuilder();
	builder.append("Terminal0x8305Transmission [result=").append(result).append("]");
	return builder.toString();
    }

}
